package com.conferenceroom;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)//暴露代理对象，用于获取代理对象
@MapperScan(basePackages = "com.conferenceroom.mapper")
@EnableScheduling//开启定时任务
public class ConferenceRoomApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConferenceRoomApplication.class, args);
    }

}
